function main() {
    //程序入口
    require(["pluginAttach", "knockout"], function (pluginAttach, ko) {
        function ViewModel() {
            this.seasons = ko.observableArray([
                { name: "Spring", months: ["March", "April", "May"] },
                { name: "Summer", months: ["June", "July", "August"] },
                {
                    name: "Autumn",
                    months: ["September", "October", "November"],
                },
                { name: "Winter", months: ["December", "January", "February"] },
            ]);
        }

        ko.applyBindings(new ViewModel(), document.getElementById("root"));
    });
}
require(["../scripts/require.config"], main);
